Path 1: 626 calls (0.84)

1def check_text() -> None:
2            if text:
3                sep_text = Text(sep, justify=justify, end=end)
4                append(sep_text.join(text))
5                del text[:]
            

Path 2: 120 calls (0.16)

1def check_text() -> None:
2            if text:
3                sep_text = Text(sep, justify=justify, end=end)
4                append(sep_text.join(text))
5                del text[:]